package com.wind.taobao.api.trade.trade.rest
{
	import com.wind.taobao.core.webservice.TaobaoResponse;

	/**
	 * taobao.trade.close Response
	 * @author fxy
	 *
	 */
	public class TradeCloseResponse extends TaobaoResponse
	{
		[Bindable]
		public var modified:String; // 	 Y 	 关闭交易时间。格式:yyyy-MM-dd HH:mm:ss
		[Bindable]
		public var tid:String; // 	Y 	交易ID 

		public function TradeCloseResponse(response:TaobaoResponse=null)
		{
			super(response);
			initResults();
		}

		private function initResults():void
		{
			if (body != null && this.isSuccess)
			{
				if (body["rsp"].hasOwnProperty("modified"))
					modified=body["rsp"]["modified"];
				if (body["rsp"].hasOwnProperty("tid"))
					tid=body["rsp"]["tid"];
			}
		}

	}
}